package com.wzdigit.wms.basic.mapper.core.inv;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.client.request.inv.SearchHoldDtlListRequest;
import com.wzdigit.wms.basic.client.response.inv.HoldDtlListResponse;
import com.wzdigit.wms.basic.domain.inv.HoldDtl;

/**
 * <p>
 * 库存冻结/解冻明细 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-07-20
 */
@MyBatisRepository
public interface HoldDtlMapper extends BaseMapper<HoldDtl> {
	
	Integer lockMaxHoldLineNo(@Param("holdHeaderId") Integer holdHeaderId);
	
	List<HoldDtlListResponse> selectAll(@Param("dto")SearchHoldDtlListRequest dto, 
			@Param("beginHoldDate")Date beginHoldDate, @Param("endHoldDate")Date endHoldDate);
}
